package com.hwua.entity;

public class ShopCart {
    private long id;
    private long pid;
    private long pnum;
    private long uid;

    public ShopCart() {
    }

    public ShopCart(long id, long pid, long pnum, long uid) {
        this.id = id;
        this.pid = pid;
        this.pnum = pnum;
        this.uid = uid;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getPid() {
        return pid;
    }

    public void setPid(long pid) {
        this.pid = pid;
    }

    public long getPnum() {
        return pnum;
    }

    public void setPnum(long pnum) {
        this.pnum = pnum;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "ShopCart{" +
                "id=" + id +
                ", pid=" + pid +
                ", pnum=" + pnum +
                ", uid=" + uid +
                '}';
    }
}
